﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ChangePwd.aspx.cs" Inherits="Job_ChangePwd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>修改密码</title>
    <link href="../Css/job/job.css" rel="stylesheet" type="text/css" />
    <link href="../Templates/green/skins/default/websen_class.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
	<div class="table">
            <div id="pnlSucess"  style="font: bold 14px '宋体'; color:#FF0000; width:200px; " runat="server" visible="false">
                 您好，修改成功了！
            </div>
            <table width="100%" cellpadding="3" cellspacing="2">
				<tr>
                    <td  colspan="4" class="top">
                          修改密码                    </td>
				</tr>
                <tr>
                    <td class="left1">
                        原始密码</td>
                    <td class="left2">
                        <input id="txtPassword" type="password" runat="server" /></td>
                    <td class="left2" >
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPassword"
                            ErrorMessage="请输入原始密码" Width="120px"></asp:RequiredFieldValidator>
                        <asp:Label ID="lblmsg" ForeColor="red" runat="server" ></asp:Label></td>
                </tr>
                <tr>
                    <td class="left1">
                        新密码</td>
                    <td class="left2" >
                        <input id="txtPassword1" type="password" runat="server" /></td>
                    <td class="left2" >
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword1"
                            ErrorMessage="请输入新密码"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="txtPassword1"
                            ErrorMessage="密码长度最少为6位" ValidationExpression="^[\s\S]{6,}$"></asp:RegularExpressionValidator></td>
                </tr>
                <tr>
                    <td class="left1">
                        确认新密码</td>
                    <td class="left2">
                        <input id="txtPassword2" type="password" runat="server" /></td>
                    <td class="left2" >
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPassword2"
                            ErrorMessage="请输入确认密码" Width="122px"></asp:RequiredFieldValidator></td>
                  <td  class="left2" ><asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPassword1"
                            ControlToValidate="txtPassword2" ErrorMessage="两次输入的密码不一样" Width="144px"></asp:CompareValidator></td>
                </tr>
                <tr>
                    <td style="width: 100px" height="40">                  </td>
                  <td align="center">
                        <asp:Button ID="btnSave" runat="server"  Text="确 认" OnClick="btnSave_Click" CssClass="xjbg" />
                        &nbsp;
                        <asp:Button ID="BtnCancle" runat="server" Text="取 消"  CssClass="xjbg" onclientclick="javascript:this.close();" CausesValidation="False" OnClick="BtnCancle_Click" /></td>
						<td align="center">&nbsp;</td>
                </tr>
            </table>
      </div>
    </form>
</body>
</html>
